#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int main() {
	int i = 0;
	int j= 0;
	int k = 0;
	int max = 0;
	scanf("%d %d %d",&i,&j,&k);
	if (j > i&&j>k)
		max = j;
	else if (k > i&&k>j)
		max = k;
	else
		max = i;
	printf("%d", max);
	return 0;
}
